#define  _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
	char arr[100] = { 0 };
	scanf("%s", &arr);
	char* p = arr;
	int count = 0;
	while (*p != '\0')
	{
		*p++;
		count++;
	}
	printf("%d\n", count);
	return 0;
}